package com.hmall.mapper;

import com.hmall.model.MallProductStock;
import com.hmall.util.MyMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MallProductStockMapper extends MyMapper<MallProductStock> {
    MallProductStock selectByOldData(@Param("inventory_organization") String inventory_organization, @Param("material_code") String material_code);

    List<MallProductStock> selectByCode(@Param("code") String code);
}